package Dome2;

import java.sql.SQLOutput;

public class Text2 {
    public static void main(String[] args) {
        char arr[]={'a','b','c'};
        String str1 = new String(arr,1,2);
        System.out.println(str1);

        String str2=new String();
        System.out.println(str2);

        String str3 ="";
        System.out.printf(str3);
        System.out.println(str3.length());

        String str4=null;
        System.out.println(str4);
        System.out.println(str4.length());

    }
}
